package com.jgybzx.my_time_at_portia.entity;

import com.jgybzx.my_time_at_portia.entity.base.Item;
import lombok.Data;

import java.util.List;

/**
 * @author 郭江勇
 * @ClassName CraftingRecipe
 * @description 合成规则类
 * @date 2025/02/19 17:10
 */
@Data
public class CraftingRecipe {
    private int recipeId;
    private Item product;
    private List<Ingredient> ingredients;

    @Data
    public static class Ingredient {
        private Item item;
        private int quantity;

        // Getters and setters
    }
}
